tools: fix cpu_weight/cap loss (22000:4fc66044477d)
authorLutz Dube <lutz.dube@ts.fujitsu.com>
Wed, 3 Nov 2010 17:23:42 +0000 (17:23 +0000)
committerLutz Dube <lutz.dube@ts.fujitsu.com>
Wed, 3 Nov 2010 17:23:42 +0000 (17:23 +0000)
commiteb37dccf5b7529173515f3204044386bb773d8ee
tree4d092a8ec0ab5026b3d495c46fb7d353b6ae42c2
parentdca1b6e7147c96ff1c04eb35c7501c77afdfbdee
tools: fix cpu_weight/cap loss (22000:4fc66044477d)

Correction/Extension of changeset 22000:4fc66044477d
  "Values of cpu_weight and cpu_cap are lost after xend restart"

Values of cpu_weight and cpu_cap taken from managed SXP file have to
be converted from str to int.

Signed-off-by: Lutz Dube <lutz.dube@ts.fujitsu.com>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/python/xen/xend/XendConfig.py